<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>03-30</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="../../frame/layer-v2.0/skin/layer.css">
  <link rel="stylesheet" href="../../frame/bootstrap3/css/bootstrap.css">
  <script type="text/javascript" src="../../javascript/jquery-1.9.1.min.js"></script>
  <link href="../../frame/angular/ui/animate/nga.all.min.css" rel="stylesheet" type="text/css"/>
  <script src="../../frame/layer-v2.0/layer.js"></script>
  <script src="../../frame/bootstrap3/js/bootstrap.min.js"></script>
  <script src="../../frame/angular/base/angular.js" type="text/javascript"></script>
  <script type="text/javascript" src="../../frame/angular/base/angular-animate.min.js"></script>
  <script src="../../javascript/ngFilterModule.js" type="text/javascript"></script>
  <script src="../../js/angular/03-30.js" type="text/javascript"></script>
</head>
<body ng-app="myApp" ng-controller="myCtrl">
<div class="modal-body" style="width: 700px">
  <form class="form-horizontal">
    <div class="form-group">
      <label for="inputEmail3" class="col-sm-2 control-label">账号</label>
      <div class="col-sm-10">
        <input type="text" ng-model="name" class="form-control" id="account" placeholder="账号">
      </div>
    </div>
    <div class="form-group">
      <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
      <div class="col-sm-10">
        <input type="password" ng-model="pwd" class="form-control" id="userpwd" placeholder="Password">
      </div>
    </div>
    <div class="form-group">
      <label for="inputPassword3" class="col-sm-2 control-label">年龄</label>
      <div class="col-sm-10">
        <input type="password" ng-model="age" class="form-control" id="age" placeholder="Password">
      </div>
    </div>
    <div class="form-group">
      <label for="inputPassword3" class="col-sm-2 control-label">角色</label>
      <div class="radio">
        <label>
          <input type="radio" ng-model="role" name="optionsRadios" id="admin" value="1" checked>管理员
        </label>
        <label>
          <input type="radio" ng-model="role" name="optionsRadios" id="teacher" value="2">教师
        </label>
      </div>
    </div>
    <div class="form-group">
      <label for="inputEmail3" class="col-sm-2 control-label">所授课程</label>
      <div class="col-sm-10">
        <select id="cur" ng-options="i.value as i.name for i in arr" ng-model="cus" class="form-control">
          <option value="">请选择</option>
        </select>
      </div>
    </div>
  </form>
</div>
<div class="modal-footer" style="text-align: left">
  <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  <button type="button" ng-click="sub()" class="btn btn-primary" id="save">提交</button>
</div>
</body>
</html>

